<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
			<div style="margin:0.5rem;">
					<div class="memlogo-area" style="background: #55bd47;">
						<div class="memlogo">
							<img ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}">
						</div>
						<div class="name">{{pagedata.member.nickname || '匿名'}}</div>
						<br>
						<div class="name">{{pagedata.member.mobile || '无手机号'}} <span class="label label-warning" style="" href="javascript:;" ng-click="pagedata.showpassword=true">设置密码</span></div>
						<div class="code">
							<div class="jylabel jylabel-info" href="javascript:;" ng-click="access_json('core/member.cash_log/')" style="border: 1px solid #fff;color:#fff;">提现记录</div>
						</div>
						<div class="bot">
							<div class="jy-2">
							<h5>我的余额</h5>
							<h2 style="margin-top:0">{{pagedata.member.credit2}}</h2>
							</div>
							<div class="jy-2" style="margin-top:1.5rem">								
								<span class="r-f label label-info" style="font-size:0.7rem;background: none;border: 1px solid #fff;color:#fff;" href="javascript:;" ng-click="pagedata.showzhuan=true"><i class="icon icon-qiehuan"></i> 转账</span>
								<span class="r-f label label-warning" style="font-size:0.7rem;margin-right:0.5rem;border: 1px solid #f0ad4e;" href="javascript:;" ng-click="access_json('core/member.tixian/')"><i class="icon icon-dixiaofei"></i> 提现</span>
							</div>
						</div>
					</div>
			</div>
			<div class="fixed-title" style="margin-top:1rem">
							 <span class="befirst spacing">
								 <span class="icon icon-fengexianzuo" style="font-size:2rem;color:#666"></span>
							 </span> 
							 <span class="title-text bold" style="color:#333;line-height:2rem">余额明细</span> 
							 <span class="spacing">
								 <span class="icon icon-fengexianyou" style="font-size:2rem;color:#666"></span>
							 </span>
			</div>
			<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
				<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
			</div>
			<div style="padding:0 0.5rem">
			<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
				<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div class="fui-list-inner">
						<div class='title'>
							<span ng-show="item.is_add==1" class="label label-success">{{item.is_addtitle}}</span>
							<span ng-show="item.is_add!=1" class="label label-danger">{{item.is_addtitle}}</span>
							<span class="red" style="margin-left:0.3rem">{{item.fee}}</span>
							<span class="gray" style="font-size:0.6rem;"> {{item.type==1?'个':'元'}}</span>
						</div>
						<div class='gray'>{{item.createtime}}</div>
					</div>
					<div class='fui-list-angle'>
						<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.remark}}</span>
					</div>
				</div>
			</div>
			</div>
	</div>
</div>
<div ng-if="pagedata.showzhuan" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showzhuan=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在进行转账操作
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-dixiaofei" style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="转账金额" ng-model="pagedata.post.fee"></div>
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-mobilephone"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="收款人账户/手机号" ng-model="pagedata.post.mobile"></div>
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-password"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="支付密码" ng-model="pagedata.post.password"></div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post(pagedata.post,'post')">确认转账</a>
			</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showpassword" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showpassword=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在进行“设置支付密码”操作
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-password"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='password' class='fui-input' placeholder="支付密码" ng-model="pagedata.post.password"></div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post(pagedata.post,'password')">确认提交</a>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('common/_footer')"></div>
<script>
scope.tool.get_list('core/member.credit_log/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('core/member.credit_log/list/');
}
</script>